#set($layout = "/layout/no.html")  
#parse("/common/common.html")
##grid
<div class="page-content">
<div class="page-content-area">
		<div class="row">
		<form id="mainForm" action="#" class="form-horizontal">
			<input name="buttonId" type="hidden" value="" />
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="buttonName"><span class="form-require">*</span>按钮名称</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="buttonName" name="buttonName" placeholder="按钮名称" value="" />
					</div>
				</div>
			</div>
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="${menuName}">所属菜单</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="menuName"   value="${menuName}" readonly="readonly"/>
						<input type="hidden" id="menuId" name="menuId" value="${record.menuId}"/>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="icon"><span class="form-require">*</span>图标样式</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="icon" name="icon" placeholder="图标样式" value="btn-default" />
					</div>
				</div>
			</div>
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="buttonType"><span class="form-require">*</span>按钮类型</label>
					<div  class="col-xs-10 col-sm-8" >
					    <select class="form-control required"  id="buttonType" name="buttonType"  >
					     #select($dicts.btnType)
					    </select>
					</div>
				</div>
			</div>
			
			<!-- 清楚浮动 -->
			<div style="height: 0px; width: 0px;clear: both;">&nbsp;</div>
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="openType">打开方式</label>
					<div  class="col-xs-10 col-sm-8" >
					    <select class="form-control"  id="openType" name="openType">
					     #select($dicts.openType)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="linkMenuId">关联功能</label>
					<div  class="col-xs-10 col-sm-8" >
					    <select class="form-control"  id="linkMenuId" name="linkMenuId" >
					     <option value="">空</option>
					     #select($dicts.menus)
					    </select>
					</div>
				</div>
			</div>
			
			<!-- 清楚浮动 -->
			<div style="height: 0px; width: 0px;clear: both;">&nbsp;</div>
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="buttonCode"><span class="form-require">*</span>按钮编号</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="buttonCode" name="buttonCode" placeholder="按钮编号" value="" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="groupName"><span class="form-require">*</span>组别</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="groupName" name="groupName" placeholder="组别" value="" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="buttonStatus"><span class="form-require">*</span>状态</label>
					<div  class="col-xs-10 col-sm-8" >
					     <select  class="form-control required" id="buttonStatus" name="buttonStatus" >
					    #select($dicts.useStatus)
					    </select>
					</div>
				</div>
			</div>
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="indexSort"><span class="form-require">*</span>排序值</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required number" type="text" id="indexSort" name="indexSort" placeholder="请输入排序值" value="" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="url"><span class="form-require">*</span>资源路径</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control required" type="text" id="url" name="url" placeholder="资源路径" value="" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="authUrl"><span class="form-require">*</span>权限路径</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control required" type="text" id="authUrl" name="authUrl" placeholder="权限路径" value=""/>
					</div>
				</div>
			</div>
			
		
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="remark">配置信息</label>
					<div  class="col-xs-11 col-sm-10" >
						<textarea id="conifg" name="conifg" class="form-control"></textarea>
					</div>
				</div>
			</div>
			
			
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="menuDesc">按钮描述</label>
					<div  class="col-xs-11 col-sm-10" >
						<textarea id="buttonDesc" name="buttonDesc" class="form-control"></textarea>
					</div>
				</div>
			</div>
		</form>
		</div>
	</div>
</div>
		
<script src="${contextPath}/js/system/resources/button/add.js"></script>